// 持久层
// 引入mongoose模块
const mongoose = require("mongoose");

let tagsSchema = new mongoose.Schema({
  name: String, // 发帖人
  number: Number, // 标题
  createTime: Date, // 发帖时间
});

module.exports = mongoose.model("tagsModel", tagsSchema, "tags");
